list=[1,3,5,2,7,8,4,0]
print("排序前：",list)

list.sort()
print("sort后：",list)

list=[1,3,5,2,7,8,4,0]
list.sort(reverse=True)
print("sort(reverse=True)后：",list)


list=[1,3,5,2,7,8,4,0]
list.reverse()
print("reverse后：",list)


list=[1,3,5,2,7,8,4,0]
sorted(list,reverse=True)
print("sorted后（临时操作不影响原有列表）：",list)

list=[1,3,5,2,7,8,4,0]
print("sorted后：",sorted(list,reverse=True))

